/***********************************************************************************************
Name:Module.H
Function:module global variant definition
***********************************************************************************************/
#ifndef _MODULE_H
#define _MODULE_H

#define     false                0
#define     true                 1



// SciModule
extern INT16U uwSetStatus;
extern INT16U uwSpiteSts;


// MotorCtrModule
extern INT16U uwMotorCtrMode;
extern INT16U uwSeatRunSts;		// 座椅当前状态
extern INT16U uwSeatRunActSts;	// 座椅当前执行状态
extern INT16U uwStBkRunSts;		//
extern INT16U uwStBkRunActSts;	//
extern INT16U uwP_SeatCtrCase;
extern INT16U uwP_StBkCtrCase;
extern INT32U udwSetUpLmtSeat;
extern INT32U udwSetDnLmtSeat;
extern INT32U udwSetUpLmtStBk;
extern INT32U udwSetDnLmtStBk;

// panelModule
extern INT32U udwCupCnt;
extern INT32U udwCupSetTime;
extern INT32U udwDisinfSetTime;
extern INT32U udwWashSetCase;
extern INT32U udwDisinfCnt;
extern INT32U udwWaterCnt;

extern void sRcvSciProcess(INT8U sciid);
extern void sLogicProcess(void);
extern void sBtnLedSend(INT8U sciid);
extern void sCupCtr(void);
extern void sWaterCtr(void);



// BtnLedMoule
extern void sFuncBtnLogicPorcess(void);
extern INT8U sBtnLedCheck(INT8U sciid);

// MotorCtrModule



// LocalBtnModule
extern void sBtnProcess(void);

#endif


